﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SwenAssignment3.Classes
{
    public class Duties
    {
        private string dutiesID;
        private string dutyName;
        private DateTime startPeriod;
        private DateTime endPeriod;
        private string description;

        public Duties()
        {

        }

        public Duties(string dutiesID, string dutyName, DateTime startPeriod, DateTime endPeriod, string description)
        {
            this.dutiesID = dutiesID;
            this.dutyName = dutyName;
            this.startPeriod = startPeriod;
            this.endPeriod = endPeriod;
            this.description = description;
        }

        public string DutiesID
        {
            get { return dutiesID; }
            set { dutiesID = value; }
        }

        public string DutyName
        {
            get { return dutyName; }
            set { dutyName = value; }
        }

        public DateTime StartPeriod
        {
            get { return startPeriod; }
            set { startPeriod = value; }
        }

        public DateTime EndPeriod
        {
            get { return endPeriod; }
            set { endPeriod = value; }
        }

        public string Description
        {
            get { return description; }
            set { description = value; }
        }
    }
}